﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ProduceBasicData.Domain.Entities;

namespace ProduceBasicData.Domain.Material
{
    /// <summary>
    /// 来料表
    /// </summary>
    public class IncomingMaterials:BaseModel
    {
        /// <summary>
        /// 系统编码
        /// </summary>
        public string? IncomingCode { get; set; }

        /// <summary>
        /// 供应商外键
        /// </summary>
        public int SupplierId { get; set; }
        
        /// <summary>
        /// 物料外键
        /// </summary>
        public int GroupId { get; set; }

        /// <summary>
        /// 批次号
        /// </summary>
        public string Batch { get; set; }

        /// <summary>
        /// 生效日期
        /// </summary>
        public DateTime? EffectiveDate { get; set; }

        /// <summary>
        /// 失效日期
        /// </summary>
        public DateTime? ExpirationDate { get; set; }

        /// <summary>
        /// 来料数量
        /// </summary>
        public int NUmbner { get; set; }
    }
}
